import api from '@/api/index.ts'

// 获取列表
export function GetData(params: any) {
  return api.get('/api/member/act/signintask/list', { params })
}
// 获取企微消息组详情
export function GetDataDetail(id: string) {
  return api.get(`/api/member/act/signintask/detail/${id}`)
}
// 添加
export function PostCreateData(params: any) {
  return api.post('/api/member/act/signintask/create', params)
}
// 编辑
export function PutModifyData(params: any) {
  return api.put('/api/member/act/signintask/modify', params)
}
// 修改状态
export function PatchModifyType(params: any) {
  return api.patch('/api/member/act/signintask/modifyenable', params)
}
// 修改排序
export function PatchModifySort(params: any) {
  return api.patch('/api/member/act/signintask/modifysort', params)
}

// 获取邀请记录
export function GetInvatedData(params: any) {
  return api.get('/api/member/act/signintask/invated/list', { params })
}

// 获取发券记录
export function GetSentcouponData(params: any) {
  return api.get('/api/member/act/signintask/sentcoupon/list', { params })
}
